﻿using SRM.Core.Extension;
using SRM.Core.Models.Base;

using System.ComponentModel.DataAnnotations.Schema;

namespace SRM.Core.Models
{
    public class ReturnOrder : OrderModel
    {
        public string ReturnOrderNo { get; set; }

        public int ReturnOrderCount { get; set; }

        public string OrderType { get; set; }

        public ReturnOrderStateEnum ReviewState { get; set; }

        public int PurchaseOrderId { get; set; }

        public PurchaseOrder PurchaseOrders { get; set; }

        [NotMapped]
        public string ReviewStateString { get; set; }
    }
}
